package com.prawn.user.pojo;

import org.hibernate.annotations.DynamicInsert;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 实体类
 * @author Administrator
 *
 */
@Entity
@Table(name="sys_office")
@DynamicInsert
public class Office implements Serializable{

	@Id
	private String id;//id


	
	private String parentId;//父级编号
	private String parentIds;//所有父级编号
	private String name;//名称
	private Integer sort;//排序
	private String areaId;//归属区域
	private String code;//区域编码
	private String type;//机构类型
	private String grade;//机构等级
	private String address;//联系地址
	private String zipCode;//邮政编码
	private String phone;//电话
	private String fax;//传真
	private String email;//邮箱
	private String useable;//是否启用
	private String primaryPerson;//主负责人
	private String deputyPerson;//副负责人
	private String remarks;//备注信息
	private String createBy;//创建者
	private java.util.Date createDate;//创建时间
	private String updateBy;//更新者
	private java.util.Date updateDate;//更新时间
	private String delFlag;//删除标记（虚拟删除，并不删除数据库表数据，0：正常，1：删除）

	
	public String getId() {		
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getParentId() {		
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getParentIds() {		
		return parentIds;
	}
	public void setParentIds(String parentIds) {
		this.parentIds = parentIds;
	}

	public String getName() {		
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public Integer getSort() {		
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getAreaId() {		
		return areaId;
	}
	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}

	public String getCode() {		
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}

	public String getType() {		
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}

	public String getGrade() {		
		return grade;
	}
	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getAddress() {		
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}

	public String getZipCode() {		
		return zipCode;
	}
	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

	public String getPhone() {		
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getFax() {		
		return fax;
	}
	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getEmail() {		
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}

	public String getUseable() {		
		return useable;
	}
	public void setUseable(String useable) {
		this.useable = useable;
	}

	public String getPrimaryPerson() {		
		return primaryPerson;
	}
	public void setPrimaryPerson(String primaryPerson) {
		this.primaryPerson = primaryPerson;
	}

	public String getDeputyPerson() {		
		return deputyPerson;
	}
	public void setDeputyPerson(String deputyPerson) {
		this.deputyPerson = deputyPerson;
	}

	public String getRemarks() {		
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getCreateBy() {		
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public java.util.Date getCreateDate() {		
		return createDate;
	}
	public void setCreateDate(java.util.Date createDate) {
		this.createDate = createDate;
	}

	public String getUpdateBy() {		
		return updateBy;
	}
	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public java.util.Date getUpdateDate() {		
		return updateDate;
	}
	public void setUpdateDate(java.util.Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getDelFlag() {		
		return delFlag;
	}
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}


	
}
